
package cn.yunyichina.scheduler.jobs.entity.message;

import cn.yunyichina.scheduler.jobs.entity.base.BaseEntity;

import java.io.Serializable;


public class MsgTemplateFunction extends BaseEntity implements Serializable {

    private static final long serialVersionUID = -5728991040426544498L;
    /**
     * 模板ID
     */
    private String templateId;
    /**
     * 功能名称
     */
    private String functionName;
    /**
     * 1:超链接,2:JS函数名称
     */
    private String functionType;
    /**
     * JS函数名称或者URL地址
     */
    private String functionCode;
    /**
     * 功能点排序号
     */
    private String sort;

    /**
     *
     */
    public MsgTemplateFunction() {
        super();
    }

    /**
     * @param tempLibraryId
     * @param functionName
     * @param functionType
     * @param functionCode
     * @param sort
     */
    public MsgTemplateFunction(String templateId, String functionName, String functionType, String functionCode, String sort) {
        super();
        this.templateId = templateId;
        this.functionName = functionName;
        this.functionType = functionType;
        this.functionCode = functionCode;
        this.sort = sort;
    }

    /**
     * @return the templateId
     */
    public String getTemplateId() {
        return templateId;
    }

    /**
     * @param templateId the templateId to set
     */
    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }

    /**
     * @return the functionName
     */
    public String getFunctionName() {
        return functionName;
    }

    /**
     * @param functionName the functionName to set
     */
    public void setFunctionName(String functionName) {
        this.functionName = functionName;
    }

    /**
     * @return the functionType
     */
    public String getFunctionType() {
        return functionType;
    }

    /**
     * @param functionType the functionType to set
     */
    public void setFunctionType(String functionType) {
        this.functionType = functionType;
    }

    /**
     * @return the functionCode
     */
    public String getFunctionCode() {
        return functionCode;
    }

    /**
     * @param functionCode the functionCode to set
     */
    public void setFunctionCode(String functionCode) {
        this.functionCode = functionCode;
    }

    /**
     * @return the sort
     */
    public String getSort() {
        return sort;
    }

    /**
     * @param sort the sort to set
     */
    public void setSort(String sort) {
        this.sort = sort;
    }

}
